package com.tedsoft.first_group_project;

enum e_difficulty{
	//supaeasy,
	easy,
	medium,
	hard,
	//supahard,
};

public class GameDifficult {

	e_difficulty currentDiff;
	
	public void setCurDiff(e_difficulty curDiff)
	{
		currentDiff = curDiff;
	}
	
	public void setPlayerDifficulty(Player player)
	{
		switch(currentDiff)
		{
			case easy:
				player.velocityRisingMax = 150.0f;
				player.velocityRisingInc = 300.0f;
				
				player.velocitFallingyMax = 100.0f;
				player.velocityFallingInc = 220.0f;
				
				player.playerVelocityX = 110.0f;	
				break;
				
			case medium:
				player.velocityRisingMax = 200.0f;
				player.velocityRisingInc = 400.0f;
				
				player.velocitFallingyMax = 133.0f;
				player.velocityFallingInc = 266.0f;
				
				player.playerVelocityX = 150.0f;
				break;	

			case hard:
				player.velocityRisingMax = 220.0f;
				player.velocityRisingInc = 450.0f;
				
				player.velocitFallingyMax = 166.0f;
				player.velocityFallingInc = 333.0f;
				
				player.playerVelocityX = 220.0f;
				break;					
		}
	}
}
